<header class="navbar-wrapper">
	<div class="navbar navbar-fixed-top">
		<div class="container-fluid cl">
            <a class="logo navbar-logo f-l mr-10 hidden-xs" href="<?php echo Router::getBaseUrl();?>/admin_index">万小程后台</a>
            <span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>
            <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
			<nav class="nav navbar-nav">
				<ul class="cl">
                    <?php if($adminHeader){
                        foreach ($adminHeader as $node){?>
                    <li class="navbar-levelone current">
                        <a href="javascript:;">
                            <?php if($node['icon']){?>
                            <i class="Hui-iconfont"><?php echo $node['icon'];?></i>
                            <?php }?>
                            <?php echo $node['name'];?>
                        </a>
					</li>
                    <?php }}?>
				</ul>
			</nav>
			<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
				<ul class="cl">
					<li class="dropDown dropDown_hover"> <a href="#" class="dropDown_A"><?php echo $adminInfo['name'];?> <i class="Hui-iconfont">&#xe6d5;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
                            <?php if ($adminInfo['admin_id'] == 1) {?>
							<li><a href="javascript:;" onclick="formAlert('修改账号','<?php echo Router::getBaseUrl();?>/admin_admin/edit?admin_id=<?php echo $adminInfo['admin_id'];?>', '50%','50%')" >修改账号</a></li>
							<?php } ?>
                            <li><a href="<?php echo Router::getBaseUrl();?>/admin_index/logout">退出</a></li>
						</ul>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</header>